package com.qigao.mall.api;

import com.qigao.mall.commons.dto.NoticeCreateDto;
import com.qigao.mall.commons.dto.NoticeModiDto;
import com.qigao.mall.commons.dto.NoticeQueryDto;
import com.qigao.mall.commons.dto.NoticeResultDto;
import com.qigao.mall.commons.enums.Result;

import java.util.List;

/**
 * Copyright (C), 2019-2019, 三人行工作室
 * FileName: NoticeService
 * Author:   luiz
 * Date:     2019/11/10 15:37
 * Description: 公告服务相关
 * History:
 * <author>          <time>          <version>          <desc>
 * luiz            2019/11/10 15:37       版本号              描述
 */
public interface NoticeService {

    Result<NoticeResultDto> findNewNotice(String shopNo);

    Result<NoticeResultDto> findNoticeById(String noticeId);

    Result<List<NoticeResultDto>> findNoticeList(NoticeQueryDto noticeQueryDto);

    void createNotice(NoticeCreateDto noticeCreateDto);

    void modiNotice(NoticeModiDto noticeModiDto);

    Result deleteById(String noticeId);
}
